package com.yixun.lbx.service;

import com.yixun.lbx.entity.YxProBreedTreat;

import java.util.HashMap;
import java.util.List;

public interface BreedTreatService {
    /**
     * @param map todo
     * @return java.lang.Integer
     * @apiNote getCount
     */
    Integer getCount(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return java.util.List<com.yixun.lbx.entity.YxProBreedTreat>
     * @apiNote getListByPage
     */
    List<YxProBreedTreat> getListByPage(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote addBreedTreat
     */
    int addBreedTreat(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote updateBreedTreat
     */
    int updateBreedTreat(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote deleteBreedTreat
     */
    int deleteBreedTreat(HashMap<String, Object> map);

    /**
     * @param breedTreat todo
     * @return java.util.List<com.yixun.lbx.entity.YxProBreedTreat>
     * @apiNote getObjByArgs
     */
    List<YxProBreedTreat> getObjByArgs(YxProBreedTreat breedTreat);

    /**
     * @param map todo
     * @return java.util.List<com.yixun.lbx.entity.YxProBreedTreat>
     * @apiNote getSearchListByPage
     */
    List<YxProBreedTreat> getSearchListByPage(HashMap<String, String> map);
}
